home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19971216-19980424 / 000111_news@newsmaster….columbia.edu _Wed Jan 21 16:43:13 1998.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA28337
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 21 Jan 1998 16:43:13 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id QAA14978
  7.     for kermit.misc@watsun; Wed, 21 Jan 1998 16:43:12 -0500 (EST)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: stderr under cgi
  12. Date: 21 Jan 1998 21:43:10 GMT
  13. Organization: Columbia University
  14. Lines: 41
  15. Message-ID: <6a5q5e$7it$1@apakabar.cc.columbia.edu>
  16. References: <1998Jan21.201529@merlin.ecid.cig.mot.com>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:8287
  19.  
  20. In article <1998Jan21.201529@merlin.ecid.cig.mot.com>,
  21. Robert Cornell <cornellr@merlin.ecid.cig.mot.com> wrote:
  22. : Thanks for you comments Frank. My first post was a little unclear, let me
  23. : clarify.
  24. : #!/opt/rat/bin/perl
  25. : $|=1;
  26. : print "Content-type: text/plain", "\n\n";
  27. : system("/opt/rat/bin/kermit -C \"set xfer displ none,echo \\v(term),quit\"");
  28. : exit(0);
  29. : Displays:
  30. : Warning: terminal type unknown: ""
  31. : Fullscreen file transfer display disabled.
  32. : unknown
  33. : Which is strange as:
  34. : #!/opt/rat/bin/kermit
  35. : echo "Content-type: text/plain"
  36. : echo
  37. : echo {\v(term)}
  38. : quit
  39. : Happily Displays:
  40. : unknown
  41. :  
  42. You might be better off testing \$(TERM).
  43.  
  44. : Without a warning, but if you add a switch statement and a couple of
  45. : function calls (i.e. Nothing related to the screen/term/output) you can
  46. : generate a warning!  I have tried to redirect stderr to no effect.  Your
  47. : (and others) comments would suggest that warnings are placed on stdin, could
  48. : you confirm/deny.
  49. : FYI 193 Alpha 10 dosen't display this behaivior!
  50. So which version does?  Does your complaint concern Alpha.11 or is it about
  51. an older version?  If it's about an older version, I'd say "case closed",
  52. it's fixed in the forthcoming 6.1 release.
  53.  
  54. - Frank
  55.